{% set current_page='following' %}

{% extends 'federation/master.html' %}

{#
SPDX-FileCopyrightText:  2020-2021 zPlus <zplus@peers.community>
SPDX-License-Identifier: GPL-2.0-only
#}

{% block page_content %}

    {% if following|length == 0 %}
        You are not following anyone.
        <a href="{{ url_for('forgefed_ns.federation_search') }}">
            Search an actor
        </a>
    {% endif %}

    <div>
        {% for actor in following %}
            <div>{% include 'federation/actor.html' %}</div>
        {% endfor %}
    </div>

{% endblock %}
